package abcy.cloud.authenticationserver.dto.resp;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Set;

@Data
@ApiModel("登录响应类")
public class LoginUserInfoResp {

    @ApiModelProperty(name = "token")
    private String accessToken;

    @ApiModelProperty(name = "user_name")
    private String username;

    @ApiModelProperty(name = "roles")
    private Set<String> roles;

    @ApiModelProperty(name = "permissions")
    private Set<String> permissions;

    private String userId;

    private LoginUserResp loginUserResp;
}
